<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>选择代录人</title>
    <meta name="viewport" content="initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="stylesheet" href="/static/wx/lib/sui/sm.min.css">
    <link rel="stylesheet" href="/static/wx/lib/sui/sm-extend.min.css">
    <link rel="stylesheet" href="/static/wx/css/reset.css">
    <link rel="stylesheet" href="/static/wx/css/main.css">
    <link rel="stylesheet" href="/static/wx/css/public_main.css">
</head>

<body>
    <div class="page-group">
        <div class="page page-current" id="selectRecorder">
            <!-- 主内容 -->
            <div class="content">
                <div class="list-block media-list">
                    <ul>
                        <input type="hidden" value="{$Think.get.policy_num | default = ''}" name ='policy_num'>
                        <input type="hidden" value="{$Think.get.report_num | default = ''}" name ='report_num'>
                        <input type="hidden" value="{$Think.get.insurance_type | default = ''}" name ='insurance_type'>
                        <input type="hidden" value="{$Think.get.end_at | default = ''}" name ='end_at'>
                        {volist name="list" id="vo"}
                        <li>

                            <div class="item-content">
                                <!-- <div class="item-media"><img src="http://gqianniu.alicdn.com/bao/uploaded/i4//tfscom/i3/TB10LfcHFXXXXXKXpXXXXXXXXXX_!!0-item_pic.jpg_250x250q60.jpg"
                                        width="44"></div> -->
                                <div class="item-inner">
                                    <div class="item-title-row">
                                        <div class="item-title size-m">
                                            姓名：<span>{$vo.username}</span>
                                            手机：<span>{$vo.mobile}</span>
                                        </div>
                                    </div>
                                    <div class="item-subtitle size-m">代录人类型：<span>{$vo.recoder_name}</span></div>
                                </div>
                                <div class="checkbox" onclick="selectInfo({$vo.recordor_id})">
                                    <label><input type="checkbox"> <i>
                                            <b></b>
                                        </i></label>
                                </div>
                            </div>
                        </li>
                        {/volist}
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <script type='text/javascript' src='/static/wx/lib/sui/zepto.min.js' charset='utf-8'></script>
    <script type='text/javascript' src='/static/wx/lib/sui/sm.min.js' charset='utf-8'></script>
    <script type='text/javascript' src='/static/wx/lib/sui/sm-extend.min.js' charset='utf-8'></script>
    <script type='text/javascript' src="/static/wx/lib/vue/vue.min.js"></script>
    <script type="text/javascript" src="/static/wx/js/zepto.touchWipe.js"></script>
    <script>
        function selectInfo(id) {
            var policy_num = $("input[ name='policy_num']").val();
            var report_num = $("input[ name='report_num']").val();
            var insurance_type = $("input[ name='insurance_type']").val();
            var end_at = $("input[ name='end_at']").val();
            location.href="{:url('insurer/otherInsurer')}?id="+id+"&policy_num="+policy_num+"&report_num="+report_num+"&insurance_type="+insurance_type+"&end_at="+end_at;
        }
    </script>
</body>

</html>